<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:replace="~{/_include/header}" />
    <title>客户管理</title>
</head>
<body>
<div class="rb-wrapper rb-fixed-sidebar rb-collapsible-sidebar rb-collapsible-sidebar-hide-logo rb-color-header" th:classappend="${sideCollapsedClazz}">
          <th:block th:replace="~{/_include/nav-top}" />
    <th:block th:replace="~{/_include/nav-left-admin(active='selectAccountForAdmin')}" />
    <div class="rb-content">
        <div class="main-content container-fluid">
            <ul class="nav nav-tabs nav-tabs-classic">
                <li class="nav-item">
                    <a href="selectAccountForAdmin" class="nav-link active"> 全部客户</a>
                </li>
                <li class="nav-item">
                    <a href="selectAccountFallbackForAdmin" class="nav-link"> 回收站</a>
                </li>
            </ul>
            <div class="card card-table">
                <div class="card-body">
                    <div class="dataTables_wrapper container-fluid">
                        <div class="row rb-datatable-header">
                            <div class="col-12 col-md-6">
                                <div class="dataTables_filter">
                                    <div class="input-group input-search">
                                        <input class="form-control" type="text" placeholder="请输入客户名称" maxlength="40" data-quickFields="" />
                                        <span class="input-group-btn">
                                          <button class="btn btn-secondary" type="button"><i class="icon zmdi zmdi-search"></i></button>
                                        </span>
                                    </div>
                                </div>
                            </div>
                            <div class="col-12 col-md-6">
                                <div class="dataTables_oper">
                                    <button class="btn btn-space btn-secondary J_batch_import_account" type="button"><i class="icon zmdi zmdi-upload"></i> 批量导入</button>
                                    <button class="btn btn-space btn-secondary J_export" type="button"><i class="icon zmdi zmdi-cloud-download"></i> 批量导出 </button>
                                    <button class="btn btn-space btn-secondary J_view_clue" type="button"><i class="icon zmdi zmdi-folder"></i> 打开</button>
                                    <button class="btn btn-space btn-primary J_transfer_group_customer_unteam" type="button"><i class="icon zmdi zmdi-mail-reply-all"></i> 转移分组</button>
                                    <button class="btn btn-space btn-secondary J_delete_customer" type="button"><i class="icon zmdi zmdi-delete"></i> 删除</button>
<!--                                    <a class="btn btn-space btn-secondary" type="button" th:href="|${baseUrl}/admin/data/data-imports?entity=${entityName}|">-->
<!--                                        <i class="icon zmdi zmdi-cloud-upload"></i> [[${bundle.L('DataImport')}]]-->
<!--                                    </a>-->
                                </div>
                            </div>
                        </div>
                        <div id="react-list" class="rb-loading rb-loading-active data-list">
                            <th:block  th:replace="~{/_include/spinner}" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:replace="~{/_include/footer}" />
<script>
    window.__PageConfig = {
        type: 'RecordList',
        entity: ['[[${entityName}]]', '[[${entityLabel}]]', '[[${entityIcon}]]'],
        listConfig: _$unthy('[[${DataListConfig}]]'),
        advFilter: false,
        requestSource: 'account-management'
    }
</script>
<script th:src="@{/assets/js/xianniu/xn-datalist.js}" type="text/babel"></script>
<script th:src="@{/assets/js/xianniu/xn-forms.js}" type="text/babel"></script>
<script th:src="@{/assets/js/xianniu/xn-forms.append.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-assignshare.js}" type="text/babel"></script>
<script th:src="@{/assets/js/rb-datalist.append.js}" type="text/babel"></script>
<script type="text/babel">
    RbList.renderAfter = function () {

    }

</script>
</body>
</html>
